package com.fuxi;

import java.time.LocalDateTime;
import java.util.Scanner;

public class fuxi_dome08 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (true){
            System.out.println("只输入n，或者其他字母");
            String result = sc.next();
            if(result.equals("n")){
                break;
            }else {
                LocalDateTime now = LocalDateTime.now();
                System.out.println(now);
            }

        }
    }
}
